package com.example.templatedemo.data.model

import com.example.templatedemo.observable.DataCallback

// 示例数据类
data class User(val name: String, val age: Int) : DataCallback {
    override fun deepCopy(): DataCallback {
        return User(this.name,this.age)
    }

    override fun isContentSame(other: DataCallback): Boolean {
        if (other !is User) return false
        return this.name == other.name && this.age == other.age
    }
}